#ifndef __WIN_MENU_H__
#define __WIN_MENU_H__

#if 0
typedef struct 
{
	unsigned char key[20];
	unsigned char menu[10];

}struct_main_menu;
#endif
#define  const_nMaxCell 16
#define const_nMaxLine 16

#define defnLineBgn 6
#define defnColBgn 16
#define defnMainMenuColBgn 7



typedef struct 
{
	unsigned char data_cell[const_nMaxLine][const_nMaxCell][3];
}struct_cell_data;

int win_menu(int menu_num,const char* strtitle, int *pAddr);

#define defKeyFMenuBgn KEY_F(2)
#define defKeyFMenuEnd (defKeyFMenuBgn+7)
#define defKeyFMenuEntryEdit (defKeyFMenuBgn+6)
#define defKeyFMenuExit (defKeyFMenuBgn+7 )


#endif